add_library(widget_codec SHARED widget_codec_global.h css_decoder.cpp utils.cpp widget_encoder.cpp)
target_compile_definitions(widget_codec PRIVATE WIDGET_CODEC_LIBRARY)
add_executable(test tests.cpp)
target_link_libraries(test PRIVATE widget_codec)